package com.xbongbong.paas.enums.bi;

import lombok.Getter;

/**
 * 节点字段颜色枚举
 * @author zcp
 * @since v1.0
 * @version v1.0
 */
@Getter
public enum DataSetFieldBgColorEnum {
    /**
     * 左表字段：蓝色
     */
    LEFT_FIELD(1, "#E7F1FF"),
    /**
     * 右表字段：浅蓝
     */
    RIGHT_FIELD(2, "#F0FDFF"),
    /**
     * 连接字段：橙色
     */
    JOIN_FIELD(3, "#FFF4ED"),
    ;
    private int code;
    private String color;

    DataSetFieldBgColorEnum(int code, String color) {
        this.code = code;
        this.color = color;
    }
}
